package com.ctgu.server.dao.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @projectName: ctguqmx_server
 * @package: com.ctgu.server.dao.dto
 * @className: GroupDto
 * @author: Kvzjj
 * @description: TODO
 * @date: 2023/6/5 15:24
 * @version: 1.0
 */


@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "GroupDto", description = "组织信息请求参数")
public class GroupDto {
    @ApiModelProperty(value = "部门ID")
    @NotNull(message = "组织ID不能为空")
    private String groupId;

    @ApiModelProperty(value = "部门名称")
    private String groupName;

    @ApiModelProperty(value = "部门口号")
    private String groupSlogan;

    @ApiModelProperty(value = "部门简介")
    private String groupIntroduction;
    @ApiModelProperty(value = "部门简介")
    private String groupAvatar;

//    @ApiModelProperty(value = "部门状态")
//    private Boolean groupStatus;

    @ApiModelProperty(value = "操作用户的ID")
    @NotEmpty(message = "操作用户Id不能为空")
    private String OpId;

    @ApiModelProperty(value = "用户名称")
    private String userName;
}
